<%@page import="com.stu.utils.PageBean"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
  <head>
  
    <meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>极客之家-新闻列表</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta name="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

	<link rel="stylesheet" href="<%=path%>/css/blog_write.css">
	<link rel="stylesheet" href="<%=path%>/css/blog_list.css"> 
	<!-- 分页 -->
	<link rel="stylesheet" href="<%=path%>/css/bootstrap-combined.css">

  </head>
  
  <body>
    <!-- top start -->
    <jsp:include page="top.jsp"></jsp:include>
    <!-- top end -->
    <!-- content start -->
    <div class="container-fluid divBlock"> 
		
		<!-- left start -->
		<div class="blog_list col-lg-8 col-md-8 col-sm-12"> 
			<ul id="news_list_ul">
			</ul>
			<!-- 分页 -->
			<div class="span12" style="margin-left:10%;">
				<div id="page1" ></div>
			</div>
		</div> 
		<!-- left end -->
		
		<!-- right start -->
		<jsp:include page="common_right.jsp"></jsp:include>
		<!-- right end -->
		<!-- 注意这里是为了使div高度自适应 --> 
		<div style="clear:both;"></div>
 
	</div>
    <!-- content end -->
    
    <jsp:include page="footer.jsp"></jsp:include>
    
    <!-- js start -->
	
	<script type="text/javascript"> 
		$(function() {
			
			var title=$("#common_right_search_input").val();
			var path='<%=path%>';
			 
			refreshNewsListUL(path,1);//初始化 新闻 列表
			
			/* 搜索  */
			$("#common_right_search_btn").click(function(){
				refreshNewsListUL(path,1);
				return false;
			});
			
			
			
		});
	</script>
	<!--  js end -->
    
  </body>
</html>